package com.hutao;

import com.illya.IllyaApplication;
import org.junit.jupiter.api.Test;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.data.redis.core.RedisTemplate;

@SpringBootTest(classes = IllyaApplication.class)
public class test {
    @Autowired
    private RedisTemplate redisTemplate;

    @Test
    public void show() {
        System.out.println(redisTemplate.opsForValue().increment(1111));
    }
}
